using System;
using Core.CSV;
using Game.View;

public class WeaponEffectListComponent : ListComponent<uint,WeaponEffectSlot> {
    public Action<WeaponEffectSlot> OnSlotItemChanged;
    
    
    protected override void updateView(uint data,WeaponEffectSlot slot,int index) {
        slot.Refresh(index,data);
        slot.OnItemChanged = OnSlotItemChanged;
    }
}
